
(** prob chi2 ndf calculates integral from chi2 to +inf for chi^2 distribution
with ndf  number degrees of freedom (same as cernlib Prob or ROOT TMath::Prob*)
let prob chi2 ndf = Gsl_cdf.chisq_Q ~x:chi2 ~nu:(float ndf)

